/*
 * @FilePath: /tads/server/app/business/models/user.go
 * @Author: wnina0x0
 * @Date: 2025-04-15 09:30:29
 * @Description:
 *
 * 版权信息 : 2025 by wnina0x0, All Rights Reserved.
 */
package models

type User struct {
	ID       uint   `gorm:"primaryKey;autoIncrement;column:id;comment:主键ID" json:"id"`
	UserName string `gorm:"size:100;not null;column:scene_name;comment:角色名字" json:"user_name"`
	Role     string `gorm:"column:;index;comment:角色权限" json:"role"`
}

func (User) TableName() string {
	return "t_user"
}
